package com.jnu.hc.jnuhcusercms.mapper;

import com.jnu.hc.jnuhcusercms.domain.Doctor;
import org.apache.ibatis.annotations.Select;

public interface DoctorMapper {
    int deleteByPrimaryKey(Integer docId);

    int insert(Doctor record);

    int insertSelective(Doctor record);

    Doctor selectByPrimaryKey(Integer docId);
    @Select("select docId,docCode,realName,password,sex,deptno from doctor where  docCode=#{docCode}")
    Doctor selectByDocCode(String docCode);

    int updateByPrimaryKeySelective(Doctor record);

    int updateByPrimaryKey(Doctor record);
}